package cn.huaqingcheng.tianshu.core.start.service;

import cn.huaqingcheng.tianshu.core.start.model.Site;
import cn.huaqingcheng.tianshu.core.start.param.SiteParam;
import cn.huaqingcheng.tianshu.core.start.param.SortParam;

import java.util.List;

/**
 * SiteService
 */
public interface SiteService {

    List<Site> getList(Long accountId, Long groupId);

    Site create(SiteParam site, Long accountId);

    Site update(SiteParam site, Long accountId);

    void updateSort(List<SortParam> params, Long accountId);

    void remove(List<Long> ids, Long accountId);

}
